<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <!-- 解释 -->
    <!-- https://segmentfault.com/a/1190000011874066 -->
    <style>
        img{
            width: 300px;
            height: 400px;
            border: 1px solid black;
            object-fit: contain;
            object-position: left;
        }
    </style>
</head>
<body>
    <img src="./img/046c78b0e6d552e65504582b8ee8ccae.jpeg" alt="">
</body>
</html>